.modalWrapper {
  :global {
    .adm-center-popup-wrap {
      max-width: 420px !important;
      width: 90% !important;
    }
  }
}

.buyPlanModal {
  display: flex;
  flex-direction: column;
  padding: 10px;

  :global {
    .top {
      display: flex;
      flex-direction: column;
      align-items: center;

      .material-icons {
        font-family: 'Material Icons';
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
        line-height: 1;
        letter-spacing: normal;
        text-transform: none;
        display: inline-block;
        white-space: nowrap;
        word-wrap: normal;
        direction: ltr;
        -webkit-font-feature-settings: 'liga';
        -webkit-font-smoothing: antialiased;
      }

      .icon {
        margin-bottom: 12px;
        font-size: 48px;
        line-height: 1;
        color: var(--adm-color-primary);
      }

      .title {
        font-size: 22px;
        font-weight: bold;
        color: #333;
        margin-bottom: 8px;
      }

      .desc {
        font-size: 14px;
        color: var(--theme-text-muted);
        text-align: center;
        margin-bottom: 16px;
      }
    }

    .plan-list {
      padding: 0;
      margin: 10px 0 0;
      list-style: none;
      max-height: 320px;
      overflow-y: auto;

      .plan-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        background: var(--theme-bg-secondary);
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.2s ease;
        position: relative;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

        .plan-info {
          display: flex;
          flex-direction: column;
          align-items: flex-start;

          .name {
            font-size: 22px;
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
          }

          .desc {
            font-size: 12px;
            color: var(--theme-text-muted);
            text-align: left;
          }
        }

        .price {
          margin-left: 10px;
          flex-shrink: 0;
          font-size: 22px;
          font-weight: bold;
          color: #333;
        }

        &:active {
          transform: scale(0.98);
        }

        &.selected {
          color: var(--theme-text-primary);
          background-color: var(--adm-color-primary);

          .plan-info {
            .name {
              color: var(--theme-text-primary);
            }

            .desc {
              color: var(--theme-text-primary);
            }
          }

          .price {
            color: var(--theme-text-primary);
          }
        }
      }
    }

    .footer {
      margin-top: 10px;
      display: flex;
      flex-direction: column;

      .buy-tips {
        font-size: 10px;
        color: #888;
        text-align: center;
        margin-top: 20px;
      }
    }
  }
}